cc = {}

def addone(param):
    if param in cc:
        print('cccccccc')
        cc[param] += 1
    else:
        print('xxxxxxxxxx')
        cc[param] = 1
    print(cc[param])
    # print("cc[%s]: %d" % param,cc[param])
    # print(len(cc))

addone("aaa")
addone("bbb")
addone("aaa")
addone("ccc")

print(len(cc))